package com.xxmw.transaction.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxmw.transaction.model.SysRoleMenu;

public interface SysRoleMenuService extends IService<SysRoleMenu> {

	default void saveOrUpdate(Long roleId, List<Long> menuIdList) {};

	/**
	 * 根据角色ID，获取菜单ID列表
	 */
	default List<Long> getMenuIdList(Long roleId) {return null;};

	/**
	 * 根据角色ID数组，批量删除
	 */
	default void deleteBatch(Long... roleIds) {};
}
